package com.cleaningcloud.cld.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 加班管理对象 cld_overtime
 *
 * @author cleaningcloud
 * @date 2024-11-11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CldOvertime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 加班ID */
    private Long overtimeId;

    /** 加班项目id */
    @Excel(name = "加班项目id")
    private Long projectId;

    /** 调出项目id */
    @Excel(name = "调出项目id")
    private Long newProjectId;

    /** 加班开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "加班开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 加班结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "加班结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 加班类型(1本项目2外项目3工程项目) */
    @Excel(name = "加班类型(1本项目2外项目3工程项目)")
    private Long overtimeType;

    /** 金额类型(1按小时制2按天制) */
    @Excel(name = "金额类型(1按小时制2按天制)")
    private Long overtimeCategory;

    /** 确认状态(0未确认1已确认) */
    @Excel(name = "确认状态(0未确认1已确认)")
    private Long confirmStatus;

    /** 加班图片 */
    @Excel(name = "加班图片")
    private String overtimeImgs;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 备注是否关闭 */
    @Excel(name = "备注是否关闭")
    private Long flag;

    /** 加班金额 */
    @Excel(name = "加班金额")
    private BigDecimal overtimeMoney;

    /** 实际加班天数 */
    @Excel(name = "实际加班天数")
    private Long overtimeDay;


}
